package org.skydiveapplibrary.ui;

import org.skydiveapplibrary.data.TimeUnit;

import android.content.Context;

public class TimeUnitAdapter extends BaseSpinnerAdapter<TimeUnit>
{
	public TimeUnitAdapter(Context context)
	{
		super(context, TimeUnit.getItems());
	}

	@Override
	protected String getText(TimeUnit item)
	{
		return getContext().getString(item.getResourceId());
	}
}
